﻿using SqlSugar;
using System.Linq;

namespace AlipayPay.Infrastructure.EntitiyExtensions
{
    /// <summary>
    /// 查询方法
    /// </summary>
    /// <typeparam name="TEntity"></typeparam>
    /// <typeparam name="T"></typeparam>
    public interface IQuery<T> where T : class, new()
    {
        /// <summary>
        /// 获取IQueryable的方法
        /// </summary>
        /// <returns></returns>
        ISugarQueryable<T> GetQueryable();
    }
}
